Equipment();
var testCombatant = instance_create(0,0, obj_NPCombatant);
var testPlayer = instance_create(0,0, obj_Player);
gameObjectConstructor(0,0,0,0,0,0, testCombatant);
combatantConstructor(100,255,100,100,100,100,100,0, testCombatant);
NPCombatantConstructor(0, testCombatant);
gameObjectConstructor(0,0,0,0,0,1,testPlayer);
combatantConstructor(100,100,100,100,100,100,100,4, testPlayer);

assert( "Is testCombatant's tileX = 0?", testCombatant.tileX == 0);
assert( "Is testCombatant's tileY = 0?", testCombatant.tileY == 0);
assert( "Is testCombatant's velX = 0?", testCombatant.velX == 0);
assert( "Is testCombatant's velY = 0?", testCombatant.velY == 0);
assert( "Is testCombatant's spriteID = 0?", testCombatant.spriteID == 0);
assert( "Is testCombatant's gameObjectID = 0?", testCombatant.gameObjectID == 0);
//above is for gameObject
assert( "Is testCombatant's vit = 100?", testCombatant.stats [STATS.VITALITY] == 100);
assert( "Is testCombatant's physStr = 100?", testCombatant.stats [STATS.PHYS_STR] == 100);
assert( "Is testCombatant's physDef = 100?", testCombatant.stats [STATS.PHYS_DEF] == 100);
assert( "Is testCombatant's spd = 100?", testCombatant.stats [STATS.SPEED] == 100);
assert( "Is testCombatant's specStr = 100?", testCombatant.stats [STATS.SPEC_STR] == 100);
assert( "Is testCombatant's specDef = 100?", testCombatant.stats [STATS.SPEC_DEF] == 100);
assert( "Is testCombatant's luck = 100?", testCombatant.stats [STATS.LUCK] == 100);
assert( "Is testCombatant's alignment = 0?", testCombatant.alignment == 0);
//above is for combatant
assert( "Is testCombatant's dropTableSize = 0?", testCombatant.dropTableSize == 0);
//above is for NPCombatant

assert( "Is testPlayer's tileX = 0?", testPlayer.tileX == 0);
assert( "Is testPlayer's tileY = 0?", testPlayer.tileY == 0);
assert( "Is testPlayer's velX = 0?", testPlayer.velX == 0);
assert( "Is testPlayer's velY = 0?", testPlayer.velY == 0);
assert( "Is testPlayer's spriteID = 0?", testPlayer.spriteID == 0);
assert( "Is testPlayer's gameObjectID = 1?", testPlayer.gameObjectID == 1);
//above is for gameObject
assert( "Is testPlayer's vit = 100?", testPlayer.stats [STATS.VITALITY] == 100);
assert( "Is testPlayer's physStr = 100?", testPlayer.stats [STATS.PHYS_STR] == 100);
assert( "Is testPlayer's physDef = 100?", testPlayer.stats [STATS.PHYS_DEF] == 100);
assert( "Is testPlayer's spd = 100?", testPlayer.stats [STATS.SPEED] == 100);
assert( "Is testPlayer's specStr = 100?", testPlayer.stats [STATS.SPEC_STR] == 100);
assert( "Is testPlayer's specDef = 100?", testPlayer.stats [STATS.SPEC_DEF] == 100);
assert( "Is testPlayer's luck = 100?", testPlayer.stats [STATS.LUCK] == 100);
assert( "Is testPlayer's alignment = 4?", testPlayer.alignment == 4);
//above is for combatant
var testCombatantAttack = instance_create(0,0, obj_Attack);
var NPDamageEffect = instance_create (0,0, obj_DefaultNPDamage);